/*
 * @Description:
 * @Version: 2.0
 * @Autor: xudongxu
 * @Date: 2019-12-06 09:50:32
 * @LastEditors: xudongxu
 * @LastEditTime: 2019-12-06 13:21:09
 */
#include "Poco/Util/Application.h"
#include "myApplication.hpp"
#include <iostream>

int main( int argc, char** argv ) {
    try {
        MyApplication app;
        app.init( argc, argv ); //在这里传主函数参数。
        app.run();
    } catch ( Poco::Exception& e ) {
        Util::Application::instance().logger().error( e.what() );
    }
}